import request from '@/utils/request'

// 查询打印订单信息列表
export function getPrintOrderInfoList(data) {
  return request({
    url: '/admin/PrintOrder/getPrintOrderInfoList',
    method: 'post',
    data
  })
}

// 查询打印订单详情信息
export function getPrintOrderInfo(params) {
  return request({
    url: '/admin/PrintOrder/getPrintOrderInfo',
    method: 'get',
    params
  })
}

// 商家进行备注
export function changePrintOrderRemark(params) {
  return request({
    url: '/admin/PrintOrder/changePrintOrderRemark',
    method: 'post',
    params
  })
}

// 云打印订单立即退款
export function printOrderRefund(params) {
  return request({
    url: '/admin/PrintOrder/printOrderRefund',
    method: 'post',
    params
  })
}

// 不受理申诉云打印订单
export function notEntertainedPrintOrder(params) {
  return request({
    url: '/admin/PrintOrder/notEntertainedPrintOrder',
    method: 'post',
    params
  })
}

// 查询需求订单信息列表
export function getDemandOrderInfoList(data) {
  return request({
    url: '/admin/DemandOrder/getDemandOrderInfoList',
    method: 'post',
    data
  })
}

// 查询需求订单详情信息
export function getDemandOrderInfo(params) {
  return request({
    url: '/admin/DemandOrder/getDemandOrderInfo',
    method: 'get',
    params
  })
}

// 商家进行备注
export function changeDemandOrderRemark(params) {
  return request({
    url: '/admin/DemandOrder/changeDemandOrderRemark',
    method: 'post',
    params
  })
}

// 需求订单立即退款
export function demandOrderRefund(params) {
  return request({
    url: '/admin/DemandOrder/demandOrderRefund',
    method: 'post',
    params
  })
}

// 更改需求订单审核状态
export function changeDemandOrderStatus(params) {
  return request({
    url: '/admin/DemandOrder/changeDemandOrderStatus',
    method: 'post',
    params
  })
}

// 不受理申诉需求订单
export function notEntertainedDemandOrder(params) {
  return request({
    url: '/admin/DemandOrder/notEntertainedDemandOrder',
    method: 'post',
    params
  })
}
